/* Custom CSS (Consolidated & Corrected) */
:root {
    --primary-color: #007bff; /* Bootstrap's primary blue */
    --secondary-color: #6c757d;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --success-color: #28a745;
    --danger-color: #dc3545;
}

body {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: var(--light-bg); /* Consistent background */
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

/* Reusable Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Dedicated Leased Line Hero Section */
.leased-line-hero {
    position: relative;
    height: 500px; /* Consistent with other hero sections */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("https://images.unsplash.com/photo-1579564200673-956551b88e1e?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
            no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 50px;
}
.leased-line-hero h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.leased-line-hero p {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Advantage/Feature Boxes (Unified for consistency) */
.feature-box {
    /* Renamed from advantage-box for clarity and consistency with other pages */
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    height: 95%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Flex for content alignment */
    flex-direction: column;
    justify-content: space-between;
}
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.feature-box .icon {
    font-size: 3rem; /* Adjusted size */
    color: var(--primary-color);
    margin-bottom: 20px;
}
.feature-box h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}
.feature-box p {
    color: #666;
    font-size: 1.05rem;
    flex-grow: 1; /* Allows paragraph to take available space for equal card heights */
}

/* Process Steps */
.process-step {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.process-step .step-number {
    background-color: var(--primary-color);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.process-step h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 15px;
}
.process-step p {
    color: #666;
    max-width: 350px;
    margin: 0 auto;
}
/* Connector line between steps */
.process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -25%; /* Positioning for horizontal spacing */
    top: 40px; /* Vertically center */
    width: 50%; /* Length of the connecting line */
    height: 3px;
    background-color: #dee2e6; /* Light gray line */
    z-index: -1; /* Behind the step circles */
    transform: translateY(-50%);
}
@media (max-width: 767.98px) {
    .process-step:not(:last-child)::after {
        content: ""; /* Remove horizontal line */
        position: absolute;
        left: 50%;
        top: auto;
        bottom: -30px; /* Position below the step */
        width: 3px; /* Vertical line width */
        height: 60px; /* Vertical line height */
        background-color: #dee2e6;
        transform: translateX(-50%);
    }

    .leased-line-hero {
        height: 300px;
        padding: 0 10px;
    }

    .leased-line-hero h1 {
        font-size: 2rem;
    }

    .leased-line-hero p {
        font-size: 0.95rem;
    }

    .leased-line-hero .leased-line-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .price-card {
        padding: 20px;
    }

    .feature-box {
        padding: 20px;
    }

    .how-it-works-step .icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .dedicatedleasedline_btn {
        background-color: #004494;
        border-color: #004494;
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 10px 25px;
        border-radius: 50px;
        font-size: 12px;
    }

    .dedicatedleasedline_btn2 {
        border: 2px solid;
        border-color: #ffffff;
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 10px 25px;
        border-radius: 50px;
        font-size: 12px;
    }

    #contact.cta-section h2 {
        font-size: 2rem; /* Smaller headline */
        margin-bottom: 20px;
    }

    #contact.cta-section p {
        font-size: 1rem; /* Smaller text */
        margin-bottom: 30px;
    }

    #contact.cta-section .btn {
        display: block; /* Stack buttons vertically */
        width: 100%; /* Full width */
        margin: 10px 0; /* Spacing between buttons */
        font-size: 0.95rem; /* Slightly smaller font */
        padding: 12px 0; /* Adjust padding */
    }
}
@media (max-width: 575.98px) {
    .process-step:not(:last-child)::after {
        display: none; /* Hide line on very small screens if preferred */
    }

    .dedicatedleasedline_btn {
        background-color: #004494;
        border-color: #004494;
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 10px 25px;
        border-radius: 50px;
        font-size: 10px;
    }

    .dedicatedleasedline_btn2 {
        border: 2px solid;
        border-color: #ffffff;
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 10px 25px;
        border-radius: 50px;
        font-size: 10px;
    }

    .leased-line-hero {
        height: 360px;
    }
}

/* Ideal For section */
.ideal-for-item {
    background-color: white;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}
.ideal-for-item .icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-right: 20px;
}
.ideal-for-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.ideal-for-item p {
    margin-bottom: 0;
    color: #555;
    font-size: 0.95rem;
}

/* Industry Logos */
.industry-logo-grid {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: var(
        --light-bg
    ); /* Use light background for this section */
}
.industry-logo-grid img {
    max-height: 70px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 20px auto;
    display: block;
}
.industry-logo-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Call to Action Section (Reusing from other pages) */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}
.cta-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}
.cta-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Footer (Reused from homepage) */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 50px 0 20px 0;
    font-size: 0.9rem;
}

footer .footer-brand {
    margin-bottom: 15px; /* Added spacing */
}
footer .footer-brand .text-primary {
    color: var(
        --primary-color
    ) !important; /* Ensure primary color for logo text */
}

footer h5 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: white;
}

footer .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}
